import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class EStateType
    
    export  class EStateType
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public static __read(arg1: SerializeStream): EStateType
        {
            var loc1=arg1.readShort();
            if (loc1 < 0 || loc1 >= 137) 
            {
                throw new MarshalException();
            }
            return EStateType.convert(loc1);
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeShort(this.__value);
            return;
        }

        public static convert(arg1: int): EStateType
        {
            return new EStateType(arg1);
        }

        public static /* const */_EStateConfusion: int=2;

        public static /* const */_EStateSleep: int=3;

        public static /* const */_EStateGiddiness: int=4;

        public static /* const */_EStateMock: int=5;

        public static /* const */_EStateHoldStill: int=6;

        public static /* const */_EStateChangeSheep: int=7;

        public static /* const */_EStateImmuneState: int=8;

        public static /* const */_EStateInvincible: int=9;

        public static /* const */_EStateDamageSuck: int=10;

        public static /* const */_EStateDamageRebound: int=11;

        public static /* const */_EStateDamageReflex: int=12;

        public static /* const */_EStateDamageToCure: int=13;

        public static /* const */_EStateBanSkill: int=14;

        public static /* const */_EStateLastRecoverLife: int=15;

        public static /* const */_EStateLastRecoverBlue: int=16;

        public static /* const */_EStateHiding: int=17;

        public static /* const */_EStateProtect: int=18;

        public static /* const */_EStateInOrDeMoveSpeed: int=19;

        public static /* const */_EStateInOrDeCure: int=20;

        public static /* const */_EStateInOrDeOutPutDamage: int=21;

        public static /* const */_EStateInOrDeSufferDamage: int=22;

        public static /* const */_EStateInOrDeNormalAttackSpeed: int=23;

        public static /* const */_EStateInOrDeStrength: int=24;

        public static /* const */_EStateInOrDeAgile: int=25;

        public static /* const */_EStateInOrDePhysique: int=26;

        public static /* const */_EStateInOrDeIntelligence: int=27;

        public static /* const */_EStateInOrDeSpirit: int=28;

        public static /* const */_EStateInOrDePhysicAttack: int=29;

        public static /* const */_EStateInOrDeMagicAttack: int=30;

        public static /* const */_EStateInOrDePhysicDefend: int=31;

        public static /* const */_EStateInOrDeMagicDefend: int=32;

        public static /* const */_EStateInOrDeLife: int=33;

        public static /* const */_EStateInOrDeMana: int=34;

        public static /* const */_EStateInOrDeHit: int=35;

        public static /* const */_EStateInOrDeJourk: int=36;

        public static /* const */_EStateInOrDePass: int=37;

        public static /* const */_EStateInOrDeBlock: int=38;

        public static /* const */_EStateInOrDeMagicCritical: int=39;

        public static /* const */_EStateInOrDePhysicCritical: int=40;

        public static /* const */_EStateInOrDeCriticalDamage: int=41;

        public static /* const */_EStateInOrDeSpeedUp: int=42;

        public static /* const */_EStateInOrDeToughness: int=43;

        public static /* const */_EStateMoreExperience: int=44;

        public static /* const */_EStateLastDamageByLife: int=45;

        public static /* const */_EStateInOrDeBaseAttr: int=46;

        public static /* const */_EStateLastSkill: int=47;

        public static /* const */_EStateDamageSuckBlood: int=48;

        public static /* const */_EStateDamageHurtBack: int=49;

        public static /* const */_EStateLightring: int=50;

        public static /* const */_EStateRevival: int=51;

        public static /* const */_EStateInOrDeHatred: int=52;

        public static /* const */_EStateDelaySkill: int=53;

        public static /* const */_EStateReState: int=54;

        public static /* const */_EStateCannotAttack: int=55;

        public static /* const */_EStateInOrDeDrug: int=56;

        public static /* const */_EStateInOrDeRelief: int=57;

        public static /* const */_EStateLastBeSuck: int=58;

        public static /* const */_EStateKillByRecentLife: int=59;

        public static /* const */_EStateModelChange: int=60;

        public static /* const */_EStateGuildFlameWine: int=65;

        public static /* const */_EStateWeddingCandy: int=66;

        public static /* const */_EStateFly: int=67;

        public static /* const */_EStateDamageSuckBloodBoss: int=68;

        public static /* const */_EStateInOrDeWuxing: int=70;

        public static /* const */_EStateInOrDeGoldProp: int=71;

        public static /* const */_EStateInOrDeWoodProp: int=72;

        public static /* const */_EStateInOrDeWaterProp: int=73;

        public static /* const */_EStateInOrDeFireProp: int=74;

        public static /* const */_EStateInOrDeEarthProp: int=75;

        public static /* const */_EStateUseDrugAdd: int=97;

        public static /* const */_EStateZazenAddNimbus: int=98;

        public static /* const */_EStateWuXingKindGold: int=100;

        public static /* const */_EStateWuXingKindWood: int=101;

        public static /* const */_EStateWuXingKindWater: int=102;

        public static /* const */_EStateWuXingKindFire: int=103;

        public static /* const */_EStateWuXingKindEarth: int=104;

        public static /* const */_EStateUseSkill: int=120;

        public static /* const */_EStateAddSkill: int=121;

        public static /* const */_EStateDeBanSkill: int=122;

        public static /* const */_EStateDeMoveSpeed: int=123;

        public static /* const */_EStateDeGiddiness: int=124;

        public static /* const */_EStateDeHoldStill: int=125;

        public static /* const */_EStateMoreExp: int=99;

        public static /* const */_EStateInOrDeHarmDeeper: int=127;

        public static /* const */_EStateInOrDeHarmLower: int=128;

        public static /* const */_EStateLightringGroup: int=129;

        public static /* const */_EStateDamageShare: int=130;

        public static /* const */_EStateAttackShare: int=131;

        public static /* const */_EStateLockHatred: int=132;

        public static /* const */_EStatePatrolFollow: int=133;

        public static /* const */_EStateIgnoreBeatBack: int=134;

        public static /* const */_EStateIgnorePull: int=135;

        public static /* const */_EStateIgnoreDecDefend: int=136;

        public static /* const */_EStateLastDamage: int=1;

        public static /* const */_EStateDeConfusion: int=126;

        public /* var */__value: int;
    }
